Experimental analysis of experimental data experimental results
1 Experimental data
Redis takes a tool called Redis-benchmark to simulate N clients and send m requests at the same time. The experiment was carried out as the following comparison test:(1) in the quiet mode and the explicit use of the command to run the comparison;(2) Contrast in single key and rand
[Benchmark] performance ratio of redis, mongodb, and memcache. First, let me talk about the situation I used: the first memcache, used for the key-value pair relationship server side cache, used to store some commonly used data that is not very large but needs to be quickly reflected. then, let's talk about my own usage:
The first memcache is used for the server-side cache of key-value pairs. it is used to
Reprinted from http://blog.csdn.net/jiangguilong2000/article/details/24143721Redis-benchmark is a Redis performance testing tool.Instruction Description:
Usage:redis-benchmark [-H
-H
-P
-S Port)
-c
-N
-D bytes (default 2)
-K
-R for SET/GET/INCR, random values for sadd
Using This option the benc
easier to test. data can be generated by tools and is not required to be authentic. However, stress testing generally considers the business logic (such as the shopping cart business ), real data is required.2. Role of Benchmark Testing
For most Web applications, the bottleneck of the entire system lies in the database. The reason is simple: Other Factors in Web applications, for example, network bandwidth, Server Load balancer nodes, application ser
CI framework source code reading notes 5 BenchMark test BenchMark. php, cibenchmark. php
In the previous blog (CI framework Source Code Reading Note 4 guide file CodeIgniter. php), we have seen that the core functions of the CI process are completed by different components. These components are similar to a single module. Different modules implement different functions, and each module can call each other t
UNIX disk I/O benchmarks
FIO-New!
FIO is an I/O tool meant to be used both for benchmark and stress/hardware verification. it has support for 13 different types of I/O engines (sync, MMAP, libaio, posixaio, SG V3, splice, null, network, syslet, guasi, solarisaio, and more ), i/O priorities (for newer linux kernels), rate I/O, forked or threaded jobs, and much more. it supports Linux, FreeBSD, NetBSD, OS X, opensolaris, Aix, HP-UX, and windows.
Bo
CI framework Source Code Reading Notes 5 BenchMark test BenchMark. php, cibenchmark. php. CI framework Source Code Reading Notes 5 BenchMark test BenchMark. php, cibenchmark. php previous blog (CI framework source code reading Note 4 guide file CodeIgniter. php), we have seen: CI core CI framework Source Code Reading N
The last prepare is changed to run, and after the test, it will output something similar to the following: Sysbench 0.4.12:multi-threaded System Evaluation Benchmark NO DB drivers specified, using MySQL Running the test with F
Ollowing Options:number of threads:1 Doing OLTP test. Running mixed OLTP test Using special distribution (iterations, 1 pct of values is returned in the PCT cases) using "B Egin "For starting transactions Using Auto_inc in the
The MySQL Benchmark test Suite Benchmark is used to install the DBI component. Today, we plan to use the MySQL Benchmark Suite to test the insertion performance. The result is incorrect:
The code is as follows:# Explain the environment[Root @ beanvm ~] # Cat/etc/redhat-releaseRed Hat Enterprise Linux Server release 6.2 (Santiago)[Root @ beanvm ~] # Uname-Linux
Mysqlslap performs a benchmark test and mysqlslap performs a benchmark test.
View the main parameter configurations and descriptions supported by mysqlslap as follows:
-A, -- auto-generate-SQL: the system automatically generates an SQL script to test Generate SQL where not supplied by file or command line. -- auto-generate-SQL-add-autoincrement: Add an AUTO_INCREMENT column to auto-generated tables in the t
[Php] lt ;? Phpif (! Defined ( amp; #39; BASEPATH amp; #39;) exit ( amp; #39; Nodirectscriptaccessallowed amp; #39 ;); /*** CodeIgniter *** Anopensourceapplicatio [php]
Marker [$ name] = microtime ();} // calculate/*** Calculates the time difference between two marked points. * calculate the time between two time points. * If the first parameter is empty this function instead returns the * {elapsed_time} pseudo-variable false variable. this permits the full system * execution time to be shown
Today we're going to test the insertion performance with MySQL's own benchmark Suite (Benchmark Suite), resulting in an error:
Copy Code code as follows:
# Let's just tell the environment
[ROOT@BEANVM ~]# Cat/etc/redhat-release
Red Hat Enterprise Linux Server Release 6.2 (Santiago)
[ROOT@BEANVM ~]# Uname-a
Linux BEANVM 2.6.32-220.el6.i686 #1 SMP Wed Nov 9 08:02:18 EST i686 i686 i386
Checklist for testing:* Zf:zend FrameworkSite:http://framework.zend.comver:1.11.7* Ci:codeignitersite:http://codeigniter.com/ver:2.0.2* Yii:yii Frameworksite:http://www.yiiframework.com/ver:1.1.8* Yaf:yet another Framework in PHP Extensionsite:http://code.google.com/p/yafphp/ver:2.0.1* MICROMVC:MICROMVCsite:http://www.micromvc.com/ver:3.1.0To test the code use case:Https://github.com/eryx/labs/tree/master/php-framework-benchmarkTest results:1. Coarse test: Memory consumption, response time* Zf:
benchmarking does not care about business logic, simpler, straightforward, easy to test, data can be generated by tools, does not require authenticity, and stress tests generally consider business logic (such as shopping cart business) and require real data.2, the role of the benchmark testThe bottleneck for most Web applications is the database; The reason is simple: other factors in Web applications, such as network bandwidth, load Balancer nodes,
generated by tools, does not require authenticity, and stress tests generally consider business logic (such as shopping cart business) and require real data.2, the role of the benchmark testThe bottleneck for most Web applications is the database; The reason is simple: other factors in Web applications, such as network bandwidth, load Balancer nodes, application servers (including CPU, memory, hard drive lights, connections, etc.), and caching, are e
also may go to follow his GitHub, the address is the Http://github.com/antirez.
"Who's using Redis?"
Blizzard, Digg, StackOverflow, GitHub, Flickr ...
"Learn to install Redis"
Download the latest version from the Redis.io redis-x.y.z.tar.gz after decompression, and then enter the Redis-x.y.z folder directly to mak
shopping cart business) and require real data.2, the role of the benchmark testThe bottleneck for most Web applications is the database; The reason is simple: other factors in Web applications, such as network bandwidth, load Balancer nodes, application servers (including CPU, memory, hard drive lights, connections, etc.), and caching, are easily scaled by horizontal extensions (commonly known as machines) to improve performance. For MySQL, due to da
Reprint: http://fanshuyao.iteye.com/blog/2384074First, Redis:Https://github.com/MicrosoftArchive/redis/releases1, Redis-x64-3.2.100.msi for the installation version2, Redis-x64-3.2.100.zip for compression packageSecond, because I use the installation version, this issue is also the installation version of the problem1, after the installation of the directory2. Th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.